<!DOCTYPE HTML>
<html>
 <head>
  <title> New Document </title>
  <meta charset="UTF-8" />
  <meta name="Generator" content="NPP-Plugin">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <script type="text/javascript" src="http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js"></script>
  <style>
	/* 这里是CSS代码 */
  </style>
 </head>
 <body>
	<p>在某个域被使用或改变时，它会改变颜色。</p>
	Enter your name: <input class="field" type="text" />
	<p>Car:
	<select class="field" name="cars">
	<option value="volvo">Volvo</option>
	<option value="saab">Saab</option>
	<option value="fiat">Fiat</option>
	<option value="audi">Audi</option>
	</select>
	</p>
	<script type="text/javascript">
	$(document).ready(function(){
	  $(".field").change(function(){
		$(this).css("background-color","#FFFFCC");
	  });
	});
	</script>
 </body>
</html>